package com.woniu.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author WenXin
 * @version 1.0
 * @description:
 * @date 2022/9/1 20:57
 */

public class RbacManager implements Serializable {
    private static final long serialVersionUID = 1L;
    int id;
    String account;
    String password;
    Date createTime;
    String status;
    //一对一的角色表
    RbacRole rbacRole;

    public RbacManager() {
    }

    public RbacManager(int id, String account, String password, Date createTime, String status, RbacRole rbacRole) {
        this.id = id;
        this.account = account;
        this.password = password;
        this.createTime = createTime;
        this.status = status;
        this.rbacRole = rbacRole;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public RbacRole getRbacRole() {
        return rbacRole;
    }

    public void setRbacRole(RbacRole rbacRole) {
        this.rbacRole = rbacRole;
    }

    @Override
    public String toString() {
        return "RbacManager{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", createTime=" + createTime +
                ", status='" + status + '\'' +
                ", rbacRole=" + rbacRole +
                '}';
    }
}
